package com.woniuxy.core.service;

import com.woniuxy.entity.AllRun;
import com.woniuxy.entity.DTO.GrabEvent;
import com.woniuxy.entity.VO.RunPostMessageVO;
import com.woniuxy.util.PageResult;

public interface RunService {
    PageResult getListAll(RunPostMessageVO runPostMessageVO);

    void pubRun(AllRun allRun);

    Boolean acceptRun(String runNumber, Integer userId);

    void sendGrabEvent(GrabEvent grabEvent);

    AllRun getById(Integer id);

    void updateState(Integer id);
}
